#include "main.h"
#include <time.h>

typedef struct
{
    uint8_t hours;
    uint8_t minutes;
    uint8_t secondes;
    uint8_t day;
    uint8_t month;
    uint8_t year;
}Clock_def_t;


void vTaskCTRL_TIME(void);
void init_HORLOGE(void);
uint32_t Time_Regulate(void);
void Time_Adjust(void);
void Time_Show(void);
void Time_Display(uint32_t TimeVar);
void RTC_Configuration(void);
uint8_t USART_Scanf(uint32_t value);
void decodeDateTime(time_t datetime, struct tm *t);
time_t encodeDateTime(struct tm *t);
void getTime(char *str);
uint8_t getHour(void);
uint8_t getMin(void);
uint8_t getSec(void);
uint8_t getDayLightSaving(void);
uint32_t CLOCk_getHoursInSecond(void);